package com.wulis.common.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author WuliBao
 * @date 2019-07-22
 */
@Data
@ApiModel(description = "ID分页DTO")
@EqualsAndHashCode(callSuper = true)
public class IdPageDto extends PageDto {
    /**
     * 主键id
     */
    @NotNull
    @ApiModelProperty("id")
    private Long id;
}
